import { Field, InputType } from '@nestjs/graphql';

@InputType()
export class UserInput {
  @Field({ nullable: true, description: '昵称' })
  name: string;

  @Field({ nullable: true, description: '简介' })
  desc: string;

  @Field({ nullable: true, description: '手机号' })
  tel: string;

  @Field({
    description: '账号',
    nullable: true,
  })
  account: string;

  @Field({
    description: '密码',
    nullable: true,
  })
  password: string;
}
